package com.anfeng.cms.domain.emp;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴朋
 * @since 2019-07-15
 */
@TableName("af_photo_imp_log")
public class AfPhotoImpLog extends Model<AfPhotoImpLog> {

    private static final long serialVersionUID = 1L;

    /**
     * 导入记录id
     */
	private String id;
    /**
     * 照片id
     */
	@TableField("p_id")
	private String pId;
    /**
     * 图片名
     */
	@TableField("p_name")
	private String pName;
    /**
     * 导入失败后原因
     */
	private String remark;
	/**
	 * 上传图片是否成功 1 成功 2 失败
	 */
	private Integer success;

    /**
     * 数据状态（1正常  2 逻辑删除）
     */
	private Integer state;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 更新时间
     */
	@TableField("modified_time")
	private Date modifiedTime;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getpId() {
		return pId;
	}

	public void setpId(String pId) {
		this.pId = pId;
	}

	public String getpName() {
		return pName;
	}

	public void setpName(String pName) {
		this.pName = pName;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getSuccess() {
		return success;
	}

	public void setSuccess(Integer success) {
		this.success = success;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifiedTime() {
		return modifiedTime;
	}

	public void setModifiedTime(Date modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("AfPhotoImpLog{");
		sb.append("id='").append(id).append('\'');
		sb.append(", pId='").append(pId).append('\'');
		sb.append(", pName='").append(pName).append('\'');
		sb.append(", remark='").append(remark).append('\'');
		sb.append(", success=").append(success);
		sb.append(", state=").append(state);
		sb.append(", createTime=").append(createTime);
		sb.append(", modifiedTime=").append(modifiedTime);
		sb.append('}');
		return sb.toString();
	}
}
